
<div id="isi">
   <div class="atas"></div>
   <div class="tengah">
      <div id="isidalam">
         <div class="putihatasCopy"></div>
         <div class="putihtengahCopy">
            <div class="headingform din"><?php if (isset($tipe))
   if ($tipe == 'today')
      echo 'Today Course Schedule'; else
      echo 'Tomorrow Course Schedule'; ?> </div>
         </div>
         <div class="putihbawahCopy"></div>
         <div class="putihtengahform">
            <div id="schedule">
               <div id="kategori" class="">

                  <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/1">Today</a>
                  <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/2">Tomorrow</a>
                  <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/3">Curent Term</a>
                  <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/6">Next Term</a>
                  <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/4">Anual</a>
                  <a href="<?php echo base_url() ?>itcourse/itcourse_con/schedules/5">Specific Class</a>

               </div>
               <div id="isijadwal">
                  <?php
                  if (!empty($schedule)) {
                     for ($i = 0; $i < count($schedule); $i++) {
                        echo '
                            <div class="jco">
                                    <div class="donat2">
                                            <span class="dpr">' . $schedule[$i]['JAM_MULAI'] . '- </span> <br />
                                            <span class="dpr">' . $schedule[$i]['JAM_SELESAI'] . ' </span> <br />
                                    </div>
                                    <div class="donat1">
                                            <span class="dpr"> ' . $schedule[$i]['KODE_PELATIHAN'] . '-' . $schedule[$i]['ANGKATAN'] . ' </span> <br />
                                            <span class="dpr2">' . $schedule[$i]['NAMA_PELATIHAN'] . ' </span> <br />
                                            <span class="dpr">Sesi-' . $schedule[$i]['NOMOR_SESI'] . ' </span> <br />
                                            <span class="dpr">' . $schedule[$i]['NAMA_RUANGAN'] . '</span> <br />

                                    </div>
                                    <p class="clear"></p>
                            </div>
                        ';
                     }
                  } else {
                     echo '
                         <div class="jco">
                             Tidak ada jadwal    
                                                                     <p class="clear"></p>
                         </div>
                     ';
                  }
                  ?>
               </div>
            </div>
         </div>
         <div class="putihbawah"></div>
      </div>
   </div>

</div><!---end #isi--->